Optimal. Leaf size=102 \[ \frac {e \left (a+b x^3\right )^{1+p}}{3 b (1+p)}+\frac {c x \left (a+b x^3\right )^{1+p} \, _2F_1\left (1,\frac {4}{3}+p;\frac {4}{3};-\frac {b x^3}{a}\right )}{a}+\frac {d x^2 \left (a+b x^3\right )^{1+p} \, _2F_1\left (1,\frac {5}{3}+p;\frac {5}{3};-\frac {b x^3}{a}\right )}{2 a} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 120, normalized size of antiderivative = 1.18, number of steps
used = 8, number of rules used = 7, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {1900, 267,
1907, 252, 251, 372, 371} \begin {gather*} c x \left (a+b x^3\right )^p \left (\frac {b x^3}{a}+1\right )^{-p} \, _2F_1\left (\frac {1}{3},-p;\frac {4}{3};-\frac {b x^3}{a}\right )+\frac {1}{2} d x^2 \left (a+b x^3\right )^p \left (\frac {b x^3}{a}+1\right )^{-p} \, _2F_1\left (\frac {2}{3},-p;\frac {5}{3};-\frac {b x^3}{a}\right )+\frac {e \left (a+b x^3\right )^{p+1}}{3 b (p+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 251
Rule 252
Rule 267
Rule 371
Rule 372
Rule 1900
Rule 1907
Rubi steps
\begin {align*} \int \left (c+d x+e x^2\right ) \left (a+b x^3\right )^p \, dx &=e \int x^2 \left (a+b x^3\right )^p \, dx+\int (c+d x) \left (a+b x^3\right )^p \, dx\\ &=\frac {e \left (a+b x^3\right )^{1+p}}{3 b (1+p)}+\int \left (c \left (a+b x^3\right )^p+d x \left (a+b x^3\right )^p\right ) \, dx\\ &=\frac {e \left (a+b x^3\right )^{1+p}}{3 b (1+p)}+c \int \left (a+b x^3\right )^p \, dx+d \int x \left (a+b x^3\right )^p \, dx\\ &=\frac {e \left (a+b x^3\right )^{1+p}}{3 b (1+p)}+\left (c \left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p}\right ) \int \left (1+\frac {b x^3}{a}\right )^p \, dx+\left (d \left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p}\right ) \int x \left (1+\frac {b x^3}{a}\right )^p \, dx\\ &=\frac {e \left (a+b x^3\right )^{1+p}}{3 b (1+p)}+c x \left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p} \, _2F_1\left (\frac {1}{3},-p;\frac {4}{3};-\frac {b x^3}{a}\right )+\frac {1}{2} d x^2 \left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p} \, _2F_1\left (\frac {2}{3},-p;\frac {5}{3};-\frac {b x^3}{a}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.60, size = 114, normalized size = 1.12 \begin {gather*} \frac {\left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p} \left (2 e \left (a+b x^3\right ) \left (1+\frac {b x^3}{a}\right )^p+6 b c (1+p) x \, _2F_1\left (\frac {1}{3},-p;\frac {4}{3};-\frac {b x^3}{a}\right )+3 b d (1+p) x^2 \, _2F_1\left (\frac {2}{3},-p;\frac {5}{3};-\frac {b x^3}{a}\right )\right )}{6 b (1+p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \left (e \,x^{2}+d x +c \right ) \left (b \,x^{3}+a \right )^{p}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.38, size = 22, normalized size = 0.22 \begin {gather*} {\rm integral}\left ({\left (e x^{2} + d x + c\right )} {\left (b x^{3} + a\right )}^{p}, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 29.24, size = 112, normalized size = 1.10 \begin {gather*} \frac {a^{p} c x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, - p \\ \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {4}{3}\right )} + \frac {a^{p} d x^{2} \Gamma \left (\frac {2}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {2}{3}, - p \\ \frac {5}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {5}{3}\right )} + e \left (\begin {cases} \frac {a^{p} x^{3}}{3} & \text {for}\: b = 0 \\\frac {\begin {cases} \frac {\left (a + b x^{3}\right )^{p + 1}}{p + 1} & \text {for}\: p \neq -1 \\\log {\left (a + b x^{3} \right )} & \text {otherwise} \end {cases}}{3 b} & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (b\,x^3+a\right )}^p\,\left (e\,x^2+d\,x+c\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________